package com.zoro.barn.business.service.sqldocument.business.document.dao;

import com.zoro.barn.commons.db.annotations.MybatisMapper;
import com.zoro.barn.business.service.sqldocument.business.document.entity.BarnDocumentUse;

import java.util.List;

/**
 * @author zhaoxingwu
 */
@MybatisMapper
public interface BarnDocumentUseMapper {

    void insertBatch(List<BarnDocumentUse> useList);

    List<BarnDocumentUse> getByDocumentId(String documentId);

    void deleteByDocumentId(String documentId);
}
